<?php 
$o_Bean= $o_SoOrdenBN;

if($o_Bean->getObj_SoOrdenLinea())
{
    $correlaTivo = 1;

    foreach ( $o_Bean->getObj_SoOrdenLinea() as $iKey => $objRcp )
    {
      $id_ItemCode = "itemCode_".$correlaTivo;?>
      <tr bgcolor='#FFFFFF'>
      <td ><input type='text' itemG='itemG' id='<?php echo $id_ItemCode;?>' name='a_ItemId[<?php echo $correlaTivo;?>]' value="<?php echo $objRcp->getArtId() ;?>" size='15' style='width: 100px;' class='loadF2 required' ></td>
      <td id='txtDesc' desc='desc'><?php echo $objRcp->get_oDetalleItemBean()->getDescripcion();?></td>
      <td UoM='UoM' ><?php echo $objRcp->get_oDetalleItemBean()->getUndMedida();?></td>
      <td ><input type='text' cant='cant' name='a_Cant[<?php echo $correlaTivo;?>]' size='5' value="<?php echo $objRcp->getCant();?>" class='number required' style='text-align:right' ></td>
      <td ><input type='text' precio='precio' name='a_Precio[<?php echo $correlaTivo;?>]' size='5' value="<?php echo $objRcp->getPrecio();?>"  class='number required' style='text-align:right' ></td>
      <td monto='monto' align='right' ><?php echo ( $objRcp->getCant()* $objRcp->getPrecio()) ;?></td>
      <td align='right'><img border='0' style='cursor:pointer' title='Eliminar Registro' src='/gourmet-express/trunk/imgs/icons/delete_icon.png' onclick='delete_TR_TbodyRecep(this)'></td>
      </tr>
      <script> loadAutocompleteItem('<?php echo $id_ItemCode; ?>'); iCorrelativoRecep=<?php echo $correlaTivo;?>;</script><?php
      
      $correlaTivo++;
    
    }
}?>
   
<script>
cantKeyupEvent();
costKeyupEvent();
evalMontos();
</script>

